"bzlmod declaration for bazelbuild/rules_nodejs"

module(
    name = "rules_nodejs",
    version = "4.5.0",
    compatibility_level = 1,
)

bazel_dep(name = "bazel_skylib", version = "1.0.3")
bazel_dep(name = "platforms", version = "0.0.4")

node = use_extension("@rules_nodejs//nodejs:extensions.bzl", "node")
node.toolchain(name = "default_node16", node_version = "16.10.0")
use_repo(node, "default_node16_toolchains")
register_toolchains("@default_node16_toolchains//:all")
